package online.indigo6a.tryspringcloudsecurity.model;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Data;

@Data
@Entity(name="AspNetUsers")
public class User {
    @Id
    private String id;
    private String userName;
    private String passwordHash;
    private String securityStamp;
    private String name;
    private String lastName;
    private String cardNumber;
    @Column(name = "cardHolderName")
    private String cardHolder;
    @Column(name="securityNumber")
    private String cardSecurityNumber;
    @Column(name = "expiration")
    private String cardExpiration;
    @Column(name = "city")
    private String addressCity;
    @Column(name = "country")
    private String addressCountry;
    @Column(name = "state")
    private String addressState;
    @Column(name = "street")
    private String addressStreet;
    @Column(name = "zipcode")
    private String addressZipCode;
    private String email;
    @Column
    private Boolean emailConfirmed;
    private String phoneNumber;
    private Boolean phoneNumberConfirmed;
}
